{template index/head}
	<link rel="stylesheet" href="{STATICDIR}index/css/my.css" />
	<link rel="stylesheet" href="{STATICDIR}index/css/login.css" />
	<link rel="stylesheet" href="{STATICDIR}index/css/mym.css" />
	<section class="box index-page">
		<header>
			<i>我的</i>
		</header>
		<div id="scroll-web" class="section-main my_item_top">
			<section class="personal_list">
				<div class="brief">
					{if !empty($loginuser)}
						<a href="{SITE_URL}index.php?a=per_center">
							<ul>
								<li>姓名：{$loginuser['nickname']}</li>
								<li>手机号：{$loginuser['loginname']}</li>
								<li>余额：{$loginuser['account']}元</li>
							</ul>
							<em></em>
					{else}
						<a href="javascript:;" onclick="dologin()">
							<div id="noLogin">注册 / 登录</div>
					{/if}
					</a>
				</div>
				<div class="personal_news">
					<ul>
						<li>
							{if !empty($loginuser)}
								{if empty($number)}
									<a href="javascript:;" onclick="wanshan()">申请提现</a>
								{else}
									<a href="{SITE_URL}index.php?a=my&m=apply_tixian">申请提现</a>
								{/if}
							{else}
								<a href="javascript:;" onclick="dologin()">申请提现</a>
							{/if}
						</li>
						<li>
							{if !empty($loginuser)}
								<a href="{SITE_URL}index.php?a=my&m=fanli_record">返利记录</a>
							{else}
								<a href="javascript:;" onclick="dologin()">返利记录</a>
							{/if}
						</li>
						<li>
							{if !empty($loginuser)}
								<a href="{SITE_URL}index.php?a=my&m=tixian_record">提现记录</a>
							{else}
								<a href="javascript:;" onclick="dologin()">提现记录</a>
							{/if}
						</li>
						<li>
							{if !empty($loginuser)}
								<a href="{SITE_URL}index.php?a=about">关于伏蒙</a>
							{else}
								<a href="javascript:;" onclick="dologin()">关于伏蒙</a>
							{/if}
						</li>
						<li>
							{if !empty($loginuser)}
								<a href="javascript:;" onclick="doeditpwd()">修改密码</a>
							{else}
								<a href="javascript:;" onclick="dologin()">修改密码</a>
							{/if}
						</li>
						<li>
							{if !empty($loginuser)}
								<a href="javascript:;" onclick="">退出登录</a>
							{/if}
						</li>
					</ul>
				</div>
			</section>
		</div>
		{template index/menu}
		<div class="hd"></div>
	</section>
{template index/foot}
{if empty($loginuser)}
	<script>
		//进入我的页面时，验证登录
		// dologin();
	</script>
{/if}
